﻿//-----------------------------------------------------------------------
// <copyright file="IDialogService.cs" company="FER">
//     Copyright (c) All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace NMBP.ViewModels.Dialogs
{
    /// <summary>
    /// Defines methods to show message and dialog boxes
    /// </summary>
    public interface IDialogService
    {
        /// <summary>
        /// Shows message of specific type in a message box
        /// </summary>
        /// <param name="message">Message to be shown</param>
        /// <param name="messageType">Message's type</param>
        void ShowMessage(string message, MessageType messageType);

        /// <summary>
        /// Asks user for confirmation
        /// </summary>
        /// <param name="question">Question displayed to the user</param>
        /// <returns>True if user confirms; otherwise false</returns>
        bool DoesUserConfirms(string question);

        /// <summary>
        /// Shows dialog for browsing files
        /// </summary>
        /// <returns>Path of the browsed file</returns>
        string BrowseFile();
    }
}
